<input type="button" class="buttons" value="Set Fields" name="btnaddnew" onclick="setfields()">